<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>图片获取</title>
		<script src="jquery-3.3.1.min.js"></script>
	</head>
	<body>
		<a href="http://sfnss.gitee.io/">Gitee个人页</a>
		<script>
			$.ajax({  // ajax登陆请求
				url:"https://gitee.com/api/v5/repos/sfnss/typora-pic/contents/%2F",
				type:"get",
				// data:{"uname":uname,"pwd":pwd},
				async:false,
				success:function(res){
					console.log(res);
					// alert(res);
				}
			});
		</script>
	</body>
</html>